package com.project.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.project.bean.ClientBean;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.ResultMap;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface IClientMapper extends BaseMapper<ClientBean> {

    @Select("SELECT * FROM t_client;")
    @ResultMap("clientMap")
    List<ClientBean> findAll();
}
